//
//  MyTableViewCell.m
//  豆瓣HW
//
//  Created by dllo on 15/11/26.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MyTableViewCell.h"

@implementation MyTableViewCell

- (void)dealloc
{
    [_label release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubviews];
    };
    return self;
}

- (void)createSubviews
{
    self.backgroundColor = [UIColor whiteColor];

    self.label = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, 300, 50)];
    [self.contentView addSubview:self.label];
    [_label release];
    


}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
